﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif 

// **********************************************************************
// Copyright (C) XM
// Author: 赵思佳
// Date: 2019-01-17
// Desc: 编辑器脚本
// **********************************************************************
namespace SpaceDFramework
{
    public class MonoBehaviourSimplifyEditor
    {
#if UNITY_EDITOR
///编辑器脚本
	    [MenuItem("SpaceD/MonoBehaviourSimplifyEditor", false, 5)]
	    static void CallMenu(){
        ///菜单逻辑
            GameObject temp = new GameObject();
            MonoBehaviourSimplify monoBehaviourSimplify= temp.AddComponent<MonoBehaviourSimplify>();
            monoBehaviourSimplify.Indentity();
            EditorApplication.isPlaying = true;
        }
#endif 
    }
}
